import request from '@/utils/request'
import store from '@/store/index'
const base = require('../../env/index')

// 夹带k_token
function addK_Token(data) {
    var token = {
        k_token: store.getters.k_token
    }
    Object.assign(data, token)
    return data
}
export function getRespondent(data) {
    return request({
        url: base.question_url + '/api/v1/admin/respondent/infos',
        method: 'POST',
        headers: {},
        data: addK_Token(data)
    })
}
